package com.jiang.dao.imple;

import com.jiang.dao.BookDao;

import java.sql.SQLOutput;

public class BookDaoImpl implements BookDao {
    
    //简单类型
    private int connectionNum;
    private String datebaseName;

    public BookDaoImpl() {
    }

    public BookDaoImpl(int connectionNum, String datebaseName) {
        this.connectionNum = connectionNum;
        this.datebaseName = datebaseName;
    }

    public void setConnectionNum(int connectionNum) {
        this.connectionNum = connectionNum;
    }

    public void setDatebaseName(String datebaseName) {
        this.datebaseName = datebaseName;
    }
    
    @Override
    public void save(){
        System.out.println("book dao save..." + datebaseName + "," + connectionNum);
    }
}
